#include "drv_init.h"
uint8_t u1_src_arr[4] = {1, 2, 3, 4};
uint8_t u1_dst_arr[4] = {0, 0, 0, 0};
void drv_init(void)
{
    my_nvic_init();
    // my_uart_init();
    my_systick_init();
    my_gpio_init();
    my_tim_init();
    SystemCoreClockUpdate();
    init_cycle_counter(true);
    my_exti_key_init();
    my_adc_init();
    my_dma_software_init(u1_src_arr, u1_dst_arr, 4);
}